﻿<%@ Page Title="" Language="C#" MasterPageFile="~/back/Site.master" AutoEventWireup="true"
    CodeFile="SendNewsLetter.aspx.cs" Inherits="back_SendNewsLetter" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="Server">
    <script type="text/javascript">
        $(document).ready(function () {
            $(".alert-error").hide();
            $(".alert-success").hide();

            $('[data-rel="chosen"],[rel="chosen"]').chosen();
        });
    </script>
    <div class="page-header">
        <h1>
            Send Newsletter</h1>
    </div>
    <div class="alert alert-error" id="Div1" runat="server">
        <button type="button" class="close" id="closered" data-dismiss="alert">
            ×</button>
        <%--<strong>Oh snap!</strong>--%>&nbsp;<span id="dataRed" runat="server"></span>
    </div>
    <div class="alert alert-success" id="Div2" runat="server">
        <button type="button" class="close" id="closegreen" data-dismiss="alert">
            ×</button>
        <strong>Well done!</strong>&nbsp;<span id="dataGreen" runat="server"></span>
    </div>
    <div class="control-group">
        <label class="control-label">
            Select Newsletter</label>
        <div class="controls">
            <asp:DropDownList ID="drpNewsletter" runat="server" data-rel="chosen">
            </asp:DropDownList>
            <asp:RequiredFieldValidator ID="rfvNewsLetter" runat="server" ControlToValidate="drpNewsletter"
                ErrorMessage="*"></asp:RequiredFieldValidator>
        </div>
    </div>
    <div class="form-actions">
        <asp:Button ID="btnSubmit" runat="server" Text="Submit" CssClass="btn btn-primary"
            OnClick="btnSubmit_Click" />
    </div>
</asp:Content>
